import *as Router from 'koa-router';

let router = new Router();
 
router.get('/news',async(ctx)=>{
  ctx.body ='这是前台新闻页面';
})
router.get('/user', async (ctx) => {
  ctx.body = '这是用户页面';
});
export { router }; 
